My simple goal -
Sync WIX events (one way)
from 1st WIX websites to 2nd WIX website
starting with webhook that delivers all right when event is published on the 1st WIX website
After that, no way to make API call in WIX
(in the pictures I got a real eventId to simplify my debugging process)
Indeed?
I am perplexed.
I’m using Make with so many apps and their connections that made by Make in it works awsome!
Until I have tried the WIX module, the installations of this connection was super complexed but finally done.
and then… after trying so many API Calls the same error:
[403] Invalid authorization token
I have tried it with so many calls on the scope of - get events, list events, list event categories but the same problem and error.
How can it be that a connection created by Make is not gets Invalid authorization token?
Someone with Make-WIX-API Call module good experience can help? please?
1 Like
Hi @Sayag678
This is because you are not authenticated to make the request to Wix. As you said “from one website to another”, please verify that you are using right connection for the website you are making the request.
Also, clone api won’t work. As the id you are taking is from another website. That means it doesn’t exist in the 2nd website you are trying to clone.
You need to go with get event call (from 1st website), then create event call (to 2nd website)
Get Event - https://www.wixapis.com/events/v3/events/{eventId}
Create Event - https://www.wixapis.com/events/v3/events
If you need more assistance, feel free to reach out to us live:
Book a call with us here
Regards,
Msquare Automation - Gold Partner of Make
@Msquare_Automation
Hi @Msquare_Automation , Thank for your reply - I visited your website and it’s looks great I would like to have a call and some services - I need it constantly for further projects
however - I invested so many energies in this scenario - so I’m glad to hear the solution for what I have started
UPDATES:
Im not receiving anymore authorization errors - I went for the http request module 50
Im authenticating well (Im guess) with Advanced OAuth - getting the ‘access token’ and refreshing it in any scenario with ‘refresh_token’ - no more errors with authorization issue
For my checks - now Im trying in module 52 to create an event on the same website I authenticated - but nothing and the response is unclear - 2 photos attached
JSON is here - I have checked it with some tool that saying it’s good
{
“event”:{
“location”:{
“name”:“Virtual Event”,
“type”:“ONLINE”
},
“dateAndTimeSettings”:{
“startDate”:“2023-09-01T10:00:00Z”,
“endDate”:“2023-09-01T18:00:00Z”,
“timeZoneId”:“Europe/Vilnius”
},
“title”:“Virtual Visionaries: Exploring the Digital Frontier”,
“fields”:[
“DETAILS”,
“TEXTS”,
“REGISTRATION”,
“URLS”,
“FORM”,
“DASHBOARD”,
“ONLINE_CONFERENCING_SESSION”,
“SEO_SETTINGS”,
“AGENDA”,
“CATEGORIES”
]
}
}
What’s your opinion?
I will appreciate your help so much!
Additionally, Sent you a message on your website
1 Like
Hi @Sayag678
This is 403 Forbidden error that means you do not have permission to perform the action. This could be due to missing scope. Please check if you added “write” scope for events in your wix app.
Regards,
Msquare Automation - Gold Partner of Make
@Msquare_Automation