Comments (6)
It sounds like you didn't set the marketplace_id
on the client or you set it to something not in here?
from peddler.
I did.. my marketplace id is:
marketplace_id: "ATVPDKIKX0DER"
from peddler.
in which files should I place:
require 'peddler'
client = MWS.orders
parser = client.get_service_status
parser.parse
and
client = MWS.orders(
marketplace_id: "...",
merchant_id: "...",
aws_access_key_id: "...",
aws_secret_access_key: "..."
)
? maybe I'm doing something wrong
from peddler.
I added a descriptive message to the Marketplace::BadId
error. Could you point your Gemfile
to the GitHub repo and see what the error message says?
from peddler.
missing MarketplaceId (Peddler::Marketplace::BadId). Currently the ID is in a file called peddler.rb in config/initializers. Maybe I'm just doing something wrong?
from peddler.
Looks like it. You need to set the credentials each time you instantiate a client. There's no singleton configuration object that stores credentials across instances.
If you are using a single set of credentials, I recommend you set them through environment variables, as I explain in the README.
I'll keep this issue open until I get a chance to reword the README to make this more explicit.
from peddler.
Related Issues (20)
- Unknown error due to failure in parsing HOT 1
- undefined method `key?' for nil:NilClass HOT 5
- Invoice generation and upload HOT 13
- `get_feed_submission_result` returns nil HOT 3
- Broken See Also docs links HOT 2
- MWS get_report encoding issues not UTF-8 but UTF8 HOT 2
- InvalidMarketplace error from Amazon turns into a parse error HOT 4
- ArgumentError: unknown encoding name - utf8 for chinese header HOT 9
- Error: Value null at 'marketplaceId' failed to satisfy constraint: Member must not be null) HOT 2
- Missing required parameter SellerId when calling list_order_items
- 'Access to Orders.ListOrders is denied' HOT 8
- Report 'GET_XML_BROWSE_TREE_DATA' - Parser - XML - Nil HOT 1
- File permissions issue in peddler 2.4.2 HOT 2
- RequestThrottled response is not raising as expected HOT 4
- Release SE marketplace support
- Migration to Selling Partner API? HOT 19
- Did you know the Peddler docs aren't there anymore? HOT 3
- Version 2.4.4 in rubygems does not have Poland Marketplace ID
- Peddler::Errors::AccessDenied Exception: Access to Orders.ListOrders is denied HOT 1
- Encoding of responses is not handled correctly
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 peddler.