Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show 400 Bad Request Error on Request of ekr.zdassets.com/compose #29

Open
mtalha-tariq opened this issue May 28, 2022 · 4 comments
Open

Comments

@mtalha-tariq
Copy link

mtalha-tariq commented May 28, 2022

I have configured it according to documentation but when this API call script it shows a Bad Request 400 error on request. https://ekr.zdassets.com/compose/<my_api_key>

Please Below Screenshot and Resolve the Issue.

I am Using:
"nuxt": "^2.14.7",
"@dansmaculotte/nuxt-zendesk": "^0.4.2",

nuxt.config.js:
['@dansmaculotte/nuxt-zendesk',
{
key: 'zLuXXXXXXXXXXXXXXXXXXXXXXXXxrp6MDpv',
disabled: false,
hideOnLoad: false
}
],

and in a component
mounted() {
this.$zendesk.show()
},

image

@mtalha-tariq mtalha-tariq changed the title Show 400 Error on Request of ekr.zdassets.com/compose Show 400 Bad Request Error on Request of ekr.zdassets.com/compose May 28, 2022
@rtouze
Copy link
Contributor

rtouze commented May 30, 2022

Hi, thank you for using this module. It's actually weird that you get a 400 status on this request. Did you try to execute it from outside your app with curl for instance? It should return a JSON object with a products property

@Pratik-Jha
Copy link

Pratik-Jha commented Jul 8, 2022

Hi, thank you for using this module. It's actually weird that you get a 400 status on this request. Did you try to execute it from outside your app with curl for instance? It should return a JSON object with a products property

hey @rtouze and @mtalha-tariq i'm also facing the same issue using same format. Will you have any solution for this?

Did you try to execute it from outside your app with curl for instance? you asked this but no i don't call it from outside.

@rtouze
Copy link
Contributor

rtouze commented Jul 8, 2022

You can also try access it using a web browser. BTW I think there is a problem with your zendesk key. On my side, this is a UUID string, which is not the case of @mtalha-tariq above.

I edited the issue to remove the posted key (though it does not work)

@Pratik-Jha
Copy link

You can also try access it using a web browser. BTW I think there is a problem with your zendesk key. On my side, this is a UUID string, which is not the case of @mtalha-tariq above.

I edited the issue to remove the posted key (though it does not work)

@rtouze i put the API token in the key variable. is it correct to put the API token in the key variable because i can't find key in my zendesk accoutn if you where i can fidn it please let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants