问题
When doing any filters or any other option allowed in the request body per documents like this: https://developer.intuit.com/docs/0025_quickbooksapi/0050_data_services/v2/0400_quickbooks_online/in... (the quickbooks online API document) I always get the error "Unauthorized OAuth Token: signature_invalid" in my own application as well as the API tool located here: https://developer.intuit.com/apiexplorer
Example of what I put in request body: PageNum=1&ResultsPerPage=20 or simply ResultsPerPage=20
I am not sure why this would also happen in the API Explorer even per instruction but it does. Without the ability to move the page marker and show more results as well as being able to filter, I will simply not be able to use the API as you can see.
Any ideas?
回答1:
It could be a bug in ApiExplorer. I tried with RestClient plugin of Mozilla browser. It worked fine.
- Method - post
- Content-Type - application/x-www-form-urlencoded
- Paging filter - PageNum=1&ResultsPerPage=1
Snapshot
Thanks
来源:https://stackoverflow.com/questions/18243789/unauthorized-oauth-token-signature-invalid-when-adding-anything-to-the-request