Comments (7)
Hey @rafaelstz
This is not an issue regarding scope or errors from the API. If I do the request manually with follow redirects
the API returns the proper response.
The class changed, the actual issue is this code part:
if ($statusCode < 200 || $statusCode >= 300) {
$message = "REST request failed";
$body = $response->getDecodedBody();
if (!empty($body["errors"])) {
$bodyErrors = json_encode($body["errors"]);
$message .= ": {$bodyErrors}";
}
throw new RestResourceRequestException($message, $statusCode);
}
API returns a redirect (303), which leads to a RestResourceRequestException
exception being thrown.
from shopify-api-php.
This issue is stale because it has been open for 60 days with no activity. It will be closed if no further action occurs in 14 days.
from shopify-api-php.
push, this still seems to be an ongoing issue.
from shopify-api-php.
This issue is stale because it has been open for 60 days with no activity. It will be closed if no further action occurs in 14 days.
from shopify-api-php.
Hi @themazim, what's the error msg you received? Did you request access to the scope price_rules
?
from shopify-api-php.
This issue is stale because it has been open for 60 days with no activity. It will be closed if no further action occurs in 14 days.
from shopify-api-php.
We are closing this issue because it has been inactive for a few months.
This probably means that it is not reproducible or it has been fixed in a newer version.
If it’s an enhancement and hasn’t been taken on since it was submitted, then it seems other issues have taken priority.
If you still encounter this issue with the latest stable version, please reopen using the issue template. You can also contribute directly by submitting a pull request– see the CONTRIBUTING.md file for guidelines
Thank you!
from shopify-api-php.
Related Issues (20)
- Not support psr/http-message :^2.0 HOT 3
- PAckage abandoned? HOT 10
- A new release of the Shopify API is due soon HOT 2
- shopify REST Admin API Response header doesn't includes a URL("link") for the next page of results HOT 1
- A new release of the Shopify API occurred HOT 2
- Could not find the current session id in the cookies - Error still happening HOT 2
- Add missing @throws tag to DocBlocks HOT 2
- Unable to Access My shopify app UI in admin side using Docker. HOT 2
- cannot get response as the documentations HOT 2
- The Registry::process always fails for webhooks sent by Shopify
- Token Exchange support HOT 2
- Exception stacktrace goes missing when the processing of a webhook catches it HOT 3
- Utils::sanitizeShopDomain is not utilizing the custom $myShopifyDomain parameter HOT 3
- Complete example in documentation? HOT 2
- A new release of the Shopify API is due soon
- Add a method to retrieve the last raw response HOT 1
- 5.5.1 is a breaking change: CookieNotFoundException HOT 3
- A new release of the Shopify API occurred
- Default cookie setter in OAuth is not setting samesite = None
- Add missing CUSTOMERS_REDACT, CUSTOMERS_REQUEST & SHOP_REDACT topics. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shopify-api-php.