Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,148,911 members, 7,802,968 topics. Date: Saturday, 20 April 2024 at 05:58 AM

Api And Programming Expert, I Need Your Help On Whatsapp Api - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Api And Programming Expert, I Need Your Help On Whatsapp Api (940 Views)

Meta Launches Whatsapp Api / Build A Subscription Based Website Using Paystack Subscription API And Asp.net (2) (3) (4)

(1) (2) (Reply) (Go Down)

Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 7:34pm On May 09, 2023
Good evening, guys have been trying to send a request on postmann with one time password template which is used to send otp code on whatsapp ,it is showing error response when i make a request on postmann, have tried to debug this error with goggle and chatgbt still the same thing. i tried it with default template that doesent require otp code it worked. pls someone should help me out??

greatigboman
truthcoder
qtguru
likeaking
kaleb

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by niel63(m): 7:40pm On May 09, 2023
Englishisamust:
Good evening, guys have been trying to send a request on postmann with one time password template which is used to send otp code on whatsapp ,it is showing error response when i make a request on postmann, have tried to debug this error with goggle and chatgbt still the same thing. i tried it with default template that doesent require otp code it worked. pls someone should help me out??

greatigboman
truthcoder
qtguru
likeaking
kaleb



You just read a sermon without reference bro. Post some code.

Nobody dey see wetin u don try or your approach.

1 Like

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by stanliwise(m): 7:51pm On May 09, 2023
Englishisamust:
Good evening, guys have been trying to send a request on postmann with one time password template which is used to send otp code on whatsapp ,it is showing error response when i make a request on postmann, have tried to debug this error with goggle and chatgbt still the same thing. i tried it with default template that doesent require otp code it worked. pls someone should help me out??

greatigboman
truthcoder
qtguru
likeaking
kaleb
How exactly do you get help when you didn’t even say exactly what was the error.

Atleast show the error response and possibly the payload. You do not need to show any sensitive data

1 Like

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by truthCoder: 8:50pm On May 09, 2023
Englishisamust:
Good evening, guys have been trying to send a request on postmann with one time password template which is used to send otp code on whatsapp ,it is showing error response when i make a request on postmann, have tried to debug this error with goggle and chatgbt still the same thing. i tried it with default template that doesent require otp code it worked. pls someone should help me out??

greatigboman
truthcoder
qtguru
likeaking
kaleb

Show workings. It will assist in efforts at helping
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by airsaylongcome: 9:02pm On May 09, 2023
truthCoder:


Show workings. It will assist in efforts at helping

He doesn't even mention what endpoint he is querying. Na pressure sha. When troubleshooting don hook person, you go dey assume say you don talk the problem when you are crying for solution.

1 Like

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by truthCoder: 9:24pm On May 09, 2023
airsaylongcome:


He doesn't even mention what endpoint he is querying. Na pressure sha. When troubleshooting don hook person, you go dey assume say you don talk the problem when you are crying for solution.

The chairman don get burnout and na still inside postman e dey.

Taking a step off the laptop and doing completely unrelated things can help reset.
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 1:51am On May 10, 2023
niel63:




You just read a sermon without reference bro. Post some code.

Nobody dey see wetin u don try or your approach.

Thanks for your response. I cant post picture here
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 2:01am On May 10, 2023
niel63:




You just read a sermon without reference bro. Post some code.

Nobody dey see wetin u don try or your approach.

the message template im sending and how im sending the request on postmann

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 2:03am On May 10, 2023
truthCoder:


The chairman don get burnout and na still inside postman e dey.

Taking a step off the laptop and doing completely unrelated things can help reset.

no be small thing my brother, I had to go and used paracetamol and panadol to cool my head off
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 2:09am On May 10, 2023
stanliwise:

How exactly do you get help when you didn’t even say exactly what was the error.

Atleast show the error response and possibly the payload. You do not need to show any sensitive data

updated check again
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by qtguru(m): 2:51am On May 10, 2023
Englishisamust:


updated check again

try TEXT instead of text based on the response error.

NOTE: Never tried this before
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by stanliwise(m): 3:54am On May 10, 2023
Englishisamust:


updated check again
Is the error message not straight forward. Your payload type of component isn’t one of the option specified by the error message. Change it to one of the options given in the error message
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Nobody: 5:52am On May 10, 2023
All your other "types" are in uppercase apart from "text"

2 Likes 1 Share

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by dragnet: 9:08am On May 10, 2023
Englishisamust:


the message template im sending and how im sending the request on postmann
I think the problem is from your parameter type:OTP, it doesn't seem to recognize it and gave you the options it recognizes, try you changing it to PAYLOAD or TEXT.
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 9:26am On May 10, 2023
stanliwise:

Is the error message not straight forward. You payload type of component isn’t one of the option specified by the error message. Change it to one of the options given in the error message

Can we do goggle meeting?? I will post the link here
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 9:27am On May 10, 2023
dragnet:

I think the problem is from your parameter type:OTP, it doesn't seem to recognize it and gave you the options it recognizes, try you changing it to PAYLOAD or TEXT.

Can we do goggle meet, I will post the link here
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by devdev: 9:45am On May 10, 2023
{
type: "BUTTON",
parameters: [
{
type: "text"
},
{
"payload": "COPY_CODE"
}

]
}
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by truthCoder: 10:01am On May 10, 2023
Englishisamust:
Good evening, guys have been trying to send a request on postmann with one time password template which is used to send otp code on whatsapp ,it is showing error response when i make a request on postmann, have tried to debug this error with goggle and chatgbt still the same thing. i tried it with default template that doesent require otp code it worked. pls someone should help me out??

greatigboman
truthcoder
qtguru
likeaking
kaleb

the error message is clear. it is expecting a type but you are writing OTP. change it to meet the proper type (I am guessing TEXT) and rerun

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by qtguru(m): 10:06am On May 10, 2023
People like OP dey make me vex, the error message points out the issue.
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by stanliwise(m): 10:59am On May 10, 2023
Englishisamust:


Can we do goggle meeting?? I will post the link here
Try what I told you and send a screenshot of the response
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 6:54pm On May 10, 2023
stanliwise:

Try what I told you and send a screenshot of the response

Thanks bro, finally solve my error. I no dey use sense sometimes and he dey pain me grin grin

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 6:56pm On May 10, 2023
truthCoder:


the error message is clear. it is expecting a type but you are writing OTP. change it to meet the proper type (I am guessing TEXT) and rerun

Finally solve my error, I'm fucking happy.
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 6:57pm On May 10, 2023
qtguru:


try TEXT instead of text based on the response error.

NOTE: Never tried this before

Thanks very much. Finally solve my error
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by qtguru(m): 6:58pm On May 10, 2023
Englishisamust:


Thanks very much. Finally solve my error

Yeah pay attention to the response message, the hint was there
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by stanliwise(m): 4:46am On May 11, 2023
Englishisamust:


Thanks bro, finally solve my error. I no dey use sense sometimes and he dey pain me grin grin
Congrat. And also you didn’t say what exactly you did right this time as this post could be useful to someone else in the future

1 Like

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 10:42am On May 11, 2023
stanliwise:

Congrat. And also you didn’t say what exactly you did right this time as this post could be useful to someone else in the future

I was using the wrong code request instead of this

1 Like

Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by stanliwise(m): 5:31pm On May 11, 2023
Englishisamust:


I was using the wrong code request instead of this
cool
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 7:24am On Jun 02, 2023
niel63:




You just read a sermon without reference bro. Post some code.

Nobody dey see wetin u don try or your approach.

Please help on this Whatsapp API issue have used it to send message but what remain. Is for number that I used to send message to be showing display name. I mean business name for customers that I send message too.
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 7:24am On Jun 02, 2023
qtguru:
People like OP dey make me vex, the error message points out the issue.

Please help on this Whatsapp API issue have used it to send message but what remain. Is for number that I used to send message to be showing display name. I mean business name for customers that I send message too.
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 7:25am On Jun 02, 2023
dragnet:

I think the problem is from your parameter type:OTP, it doesn't seem to recognize it and gave you the options it recognizes, try you changing it to PAYLOAD or TEXT.

Please help on this Whatsapp API issue have used it to send message but what remain. Is for number that I used to send message to be showing display name. I mean business name for customers that I send message too.
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 7:25am On Jun 02, 2023
truthCoder:


Show workings. It will assist in efforts at helping

Please help on this Whatsapp API issue have used it to send message but what remain. Is for number that I used to send message to be showing display name. I mean business name for customers that I send message too.
Re: Api And Programming Expert, I Need Your Help On Whatsapp Api by Englishisamust: 7:25am On Jun 02, 2023
airsaylongcome:


He doesn't even mention what endpoint he is querying. Na pressure sha. When troubleshooting don hook person, you go dey assume say you don talk the problem when you are crying for solution.

Please help on this Whatsapp API issue have used it to send message but what remain. Is for number that I used to send message to be showing display name. I mean business name for customers that I send message too.

(1) (2) (Reply)

c / Programming,how To Ebooks : Check / Web 2.0 Developer's Worst Nightmare!

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 38
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.