Unauthorized OAuth Token: signature_invalid when adding anything to the request body on POST

折月煮酒 提交于 2019-12-11 19:26:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!