Forum Discussion
Invalid Api credentials response code 11
Hi akashgera ,
Seems that there are extra quotes in your RequestBody,check example below:
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_concepts_example_requests.htm
Best Regards,
Kelly
Did I answer your question? Mark my post as a solution!
- akashgera5 years agoHelper I
HI v-kelly-msft
Thanks for the response, let me check my request body part and revert to you.
- v-kelly-msft5 years agoCommunity Support
Hi akashgera ,
Is your issue solved now?
Best Regards,
KellyDid I answer your question? Mark my post as a solution!
- akashgera5 years agoHelper I
Hi Kelly,
Still facing the same issue, I don't know what is wrong in this code (No Syntax error detected)
Error: Invalid API Credentials.
Used postman to fetch the data using same parameters and it is giving data without any error.
I think something is wrong in this part:
webdata = Web.Contents(url, [Content = Text.ToBinary(RequestBody), Headers=header])
Pls help !