question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"thread:ident=some_id" like params, validation failed

See original GitHub issue

code 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:open
  • Created 12 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
dmattcommented, May 27, 2014

@alanjds The threads/details endpoint is documented here https://disqus.com/api/docs/threads/details/

1reaction
alanjdscommented, May 27, 2014

Before opening another bug, let me ask: where do this thread:ident or ident:some_id is documented?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found