Forum Discussion
Error in getting POST request in an API
- 6 years ago
You could simply using different code.
This first example you've posted contained wrong brackets.
Why is that?
Could it be that JSON you've been using in Postman has different nesting structure?
Must your -1 be a text instead of a number?
Honestly, I've been there a couple of times to recognize that a simple typo is throwing things off.
Very had to believe that Power Query is the issue here.
Hi ImkeF
I really appreciate your response on this post.
I have corrected the format but there is another error that I encountered.
Expression.Error: We cannot convert the value -1 to type Text.
Details:
Value=-1
Type=[Type]
I'm really a newbie in Power BI and your reponse is highly appreciated.
Thank you.
Hi ImkeF
I have changed it to ""-1"" and other error occurs:
Expression.Error: We cannot convert a value of type Record to type Text.
Details:
Value=[Record]
Type=[Type]