-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hello,
i receive a 415 when i try to generate an invitation-link with your module.
i have an access token, my businessID, everything work fine to get all review :
await client("/v1/private/business-units/${process.env.TRUSTPILOT_BUSINESS_ID}/reviews")
but when i try to generate an invitation-link, i have a 415, it's a problem of media type. Maybe the content type : apllication/json is not set. But i don't know how to set it with your module.
This is my request :
await client.post("/v1/private/business-units/${process.env.TRUSTPILOT_BUSINESS_ID}/invitation-links", { name: user.name, locale: "fr-FR", redirectUri: "https://stootie.com", email: user.email, });
everything work fine on POSTMAN.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels