I have an app that is running on version 2022-04 (orders are being fulfilled through Fulfillment endpoints that got removed in version 2022-07) So I've Updated my code according to the documentation as version 2022-07 uses FulfillmentOrder resource instead, that needs new scopes to be installed as well
'read_third_party_fulfillment_orders',
'write_third_party_fulfillment_orders',
'read_assigned_fulfillment_orders',
'write_assigned_fulfillment_orders'
As the documentation mentions no need to uninstall and reinstall the application to add the new scopes instead we can use
https://{shop}.myshopify.com/admin/oauth/authorize?client_id={client_id}&scope={scopes}&redirect_uri={redirect_uri}&state={nonce}&grant_options[]={access_mode}
but it always returns with a status code 403 (Forbidden) and an error message Scope undefined for API access: oauth
I've used both code and postman to trigger this request but the result was the same. Any help?
Related
When I tried to see data through try it out functionality then it is showing the following error
Error: Network Error
Check the developer tools console, it might have more information on the error.
If you are using an Adblocker, it is possible your Adblocker is blocking the request.
I also tried after disabling adblocker but it also does not work
console showing like this
Why this is happening and what is the solution for this?
Thanks in advance
Try the url in your browser with the API key. You can see the response.
Example :
https://api.themoviedb.org/3/movie/popular?api_key=your_api_key
Found out this is due to extension 'stoplight' in their site. Site Manager has said
"I believe Stoplight has temporarily blocked the "Try it out" feature for our account because too many people were using it as the source
for their apps, and not using api.themoviedb.org for some reason. No
timeline on getting it restored, but that's the problem. - Travis Bell"
follow this thread, In case it gets sorted in future.
https://www.themoviedb.org/talk/600184fc6aa8e0004077e364?page=1#6001bbacbe4b36003d514ac3
Apparently it depends on the way you try to access the data.
In my React application I was using Axios.Which ended up with ReferenceError: response is not defined. (got no response)
Afterwards I tried using the javascript fetch API. It worked good for me
So if you are trying to use it in an app you might want to use the fetch API. If you just encounter network error while using Try it out function on site - then you can copy the link and paste it directly, it should work fine.
Currently, I am using it in my dashboard and I have JWT authentication for the API that I'm using. I have implemented the interceptor to update HTTP HEADERS so I saw I'm passing a header name 'token' and checked there if any unnecessary headers were given or not with not accepting the TMDB API server. So I have sent a clean HTTP request and it's working fine.
All you have to just remove the unnecessary HTTP HEADERS
I'm trying to create client policies in my realm, but whenever I submit them for creation, Keycloak returns a "Resource Not Found" error. I've already tested in a container without any custom config and it returns the same error.
Keycloak version: 10.0.0
https://gfycat.com/elegantphysicalemeraldtreeskink
Changed image version to 10.0.1 and it's working now.
I have made a linkedin extension for a business collaboration tool last year.Now I came to know that new version of linkedin api has been released.My extension is only using the basic scopes which are given default in the app creation page.I also noticed those scopes are still there at the app creation page and no new scopes are added.So will my extension still work with these basic scopes and code still.I tried to change them but I could see only those basic scopes in app page.If I mention new scopes in authentication request I am getting an error your app is not authenticated with this scope.So please someone clarify me how long will I am be able to use these basic scopes without migrating to version 2.Will version 1 api remain in use (even though not maintained) ?If I have to migrate how can I configure new scopes? If I try to create an app in linkedin developer,I am given only the basic scopes list that are in version 1 and new scopes added like the changed scope for share api is not showing up.If I try to add it directly on authentication request it is giving error response.Any help?
Note : I have used only the basic api scopes that doesn't require linkdein partnership program application.
I tried checking if I create a new app the version 2 scopes being listed or not.
Check this :
https://learn.microsoft.com/en-us/linkedin/consumer/integrations/self-serve/migration-faq?context=linkedin/consumer/context
Basic is :
r_liteprofile (replaces r_basicprofile)
r_emailaddress
w_member_social (replaces w_share)
you can use V1 scope till : March 1, 2019
I’ve followed this tutorial https://apiai-aws-heroku-nodejs-bots.blogspot.co.uk/2017/07/steps-for-apiai-and-google-account.html but when I go and grab by debugging URL which happens to be https://assistant.google.com/services/auth/handoffs/auth/start?provider=allergology-5fa9c_dev&scopes=https://www.googleapis.com/auth/userinfo.email+https://www.googleapis.com/auth/userinfo.profile+https://www.googleapis.com/auth/admin.directory.resource.calendar&return_url=https://www.google.com/ and paste it into a new window I get Error 500 but no explanation.
I also tried from an incognito window. It does ask for my email and password but then returns the same error.
I’ve used Implicit Grant Type and I don’t have Add quick account linking enabled please ket me know if that’s not right?
When I try the CURL URL I get the message {“status”:{“code”:401,“errorType”:“unauthorized”,“errorDetails”:“Authentication parameters missing”}}
UPDATE - now when I try the basic Talk to Allergology action on the simulator I don’t even get the debug info anymore, but the message “Sorry this action is not available in simulation” :frowning:
Could you please help?
thanks
Morena
I've managed to work out what I need to do by following this answer How to authenticate user with just a Google account on Actions on Google?
In my case - Configure your project (in the cloud console) so that the Calendar API is enabled and that the OAuth2 client is correctly configured.
I also switched from Implicit Grant Type to Authorisation Code.
My app is almost working, I am now having other issues, but at some point the Access Token was coming through with the request.
I tried to use the Sylius API by using this guide.
Authorization seems okay because no 'bad request' errors occur.
If I try to fetch, for example, a list of all taxonomies, I'm getting a Sylius\Api\InvalidResponseFormatException because the API returns me the contents of the hwi_oauth_security (/connect) route. It's the one with the amazon/facebook/google login links.
I tried with the HttpFul library, and with Lakions client. Both same response. This is on Sylius 0.14. I tried this on a fresh install too, also same response.
Am I missing something here? I am trying to login with the admin user that was generated during install.