I keep getting an error 400 response from Xero that looks like this:
{
code:
ERROR_CODE_INPUT_ERROR
,
message:
Missing param: field_value
,
payload: {param}
}
When I debug, I can see that all my values are getting passed correctly in Xano to the Xero API. I'm not sure what field value I could be missing, as it matches their auth flow on their website (https://developer.xero.com/documentation/guides/oauth2/auth-flow/
).
params: {
grant_type: authorization_code
,
code: [[my code inserted here]]
,
redirect_uri: [[my redirect_uri inserted here]]
}
I have pasted a screenshot of how i set up the parameters. Anyone have ideas on how to solve this? I've tried URL encoding the parameters and that throws a separate error.