"thread:ident=some_id" like params, validation failed
See original GitHub issuecode like this not working now:
disqus.threads.details(forum=settings.DISQUS_WEBSITE_SHORTNAME, **{'thread:ident': 'some_id'})
because thread:ident don’t passed validation in call method of Resource class:
if not kwargs.get(k):
raise ValueError('Missing required argument: %s' % k)
I replaced this code by:
if k not in [ x.split(':')[0] for x in kwargs.keys() ]:
raise ValueError('Missing required argument: %s' % k)
https://github.com/disqus/disqus-python/blob/master/disqusapi/__init__.py#L120
Issue Analytics
- State:
- Created 12 years ago
- Comments:6
Top Results From Across the Web
Resolve the "Parameter validation failed" error in AWS ...
To pass a value that doesn't exist in the AWS Region or account during stack creation. As a property for a resource, and...
Read more >Problem validating my swagger json file · Issue #69 - GitHub
The problem is , the said parameters exist. However i am not sure where the error is coming from . Can you please...
Read more >What is wrong with Parameter validation failed. It is not ...
Parameter validation failed. It is not possible to provide valid values for all parameters. (rsParameterError).
Read more >Validation failed for parameter 'My ... - Xilinx Support
The validation process is trying to set parameters as best as it can but sometimes it takes multiple iterations before it can set...
Read more >AWS Lambda: Parameter validation failed - Stack Overflow
Try passing it like this, as a dictionary (from the docs): { "httpMethod":"POST", "body": { TableName="LamdaTest", Item={ "ID": {"N":"1"}, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@alanjds The threads/details endpoint is documented here https://disqus.com/api/docs/threads/details/
Before opening another bug, let me ask: where do this
thread:ident
orident:some_id
is documented?