30daysof icon indicating copy to clipboard operation
30daysof copied to clipboard

I am unable to work with OAuth for WhatsApp Cloud API

Open juliamuiruri4 opened this issue 2 years ago • 5 comments

Submitted By

@aaryan2134

_## Your Role

What is your role in this learning context?

  • Student
  • Career Switcher
  • Professional Developer_

For Product

What do you have feedback on?

  • A Microsoft Service
  • A Microsoft Tool
  • A Technology Topic Specify a name and share a link to the learning resource you were using

Description

(1-2 lines that describe the topic or focus of your feedback)

  • Example 1: Bug Report: Error using feature xxx on product yyy.
  • Example 2: Feature Request: Request to add feature xxx to product yyy

I am unable to work with OAuth for WhatsApp. I have tried the facebook connector on Power Platform and that also is not working for me

Details

(Use this section to provide more details on the feedback if possible)

Currently I am able to use the API on postman completely fine. I am unable to work with OAuth for Facebook

On Facebook side, I have created an App with WhatsApp API and Facebook Login Functionality enabled. I have created OAuth connection by providing App ID and secret in the custom connector and then creating a connection by providing the authorization token.

These are the images of the connector ...

Error ....

  • Example 1: Bug report:
    • When I tried doing xyz
    • I got this error message: error message here
    • To reproduce the error, take these steps: describe steps you took
    • (Optional) Take and share a screenshot if possible
  • Example 2: Feature request:
    • I want to use case you are implementing
    • But this product does not currently have feature you want
    • Adding this feature will have these benefits: describe how it improves developer experience

juliamuiruri4 avatar Oct 06 '22 14:10 juliamuiruri4

Error

I created the following Connector Request image

I am getting this error message image

I am building a connector for WhatsApp Cloud API image image The above are the connector details that I have provided in the Connector Creator wizard For OAuth, I provided by token for creating the connection

aaryan2134 avatar Oct 06 '22 18:10 aaryan2134

The same credentials and request details are working on my postman request

aaryan2134 avatar Oct 06 '22 18:10 aaryan2134

This appears to be an issue on stack overflow already. Check out the conversation here: https://stackoverflow.com/questions/38805105/message-unsupported-post-request-object-with-id-does-not-exist-cannot-be-l

Cc. @aaryan2134

juliamuiruri4 avatar Oct 13 '22 12:10 juliamuiruri4

@aaryan2134 Were you able to achieve this?

juliamuiruri4 avatar Oct 25 '22 17:10 juliamuiruri4

No. I tried the suggested methods but still getting same issue

aaryan2134 avatar Oct 25 '22 18:10 aaryan2134