Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WordPress Enable Mastodon Apps does not like in_reply_to_id #400

Open
jernst opened this issue Oct 18, 2024 · 0 comments
Open

WordPress Enable Mastodon Apps does not like in_reply_to_id #400

jernst opened this issue Oct 18, 2024 · 0 comments

Comments

@jernst
Copy link
Member

jernst commented Oct 18, 2024

Needs investigation.

Traceback (most recent call last):
  File "/home/ubosdev/git/github.com/jernst/feditest/venv.linux.default/lib/python3.11/site-packages/feditest/testrun.py", line 240, in run
    self.test_step.test_step_function(test_instance)
  File "/home/ubosdev/git/github.com/jernst/feditest-contrib/../feditest-tests-fediverse/tests/system2/reply_single_hop.py", line 60, in receiver_replies_to_note
    self.reply_uri = self.receiver_node.make_reply_note(self.receiver_actor_acct_uri, self.note_uri, self.reply_content)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubosdev/git/github.com/jernst/feditest/venv.linux.default/lib/python3.11/site-packages/feditest/nodedrivers/mastodon/__init__.py", line 697, in make_reply_note
    response = mastodon_client.make_reply_note(to_be_replied_to_object_uri, reply_content)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubosdev/git/github.com/jernst/feditest/venv.linux.default/lib/python3.11/site-packages/feditest/nodedrivers/mastodon/__init__.py", line 311, in make_reply_note
    response = self.http_post('/api/v1/statuses', args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubosdev/git/github.com/jernst/feditest/venv.linux.default/lib/python3.11/site-packages/feditest/nodedrivers/mastodon/__init__.py", line 227, in http_post
    return mastodon_api_invoke_post_or_put('POST', self._app.api_base_url, self._app.session, path, args=args, headers=self._auth_header)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ubosdev/git/github.com/jernst/feditest/venv.linux.default/lib/python3.11/site-packages/feditest/nodedrivers/mastodon/__init__.py", line 172, in mastodon_api_invoke_post_or_put
    raise HTTPError(f'HTTP status { response.status_code }: { response.content.decode("utf-8") }', response=response)
requests.exceptions.HTTPError: HTTP status 400: {"error":"rest_invalid_param","error_description":"Invalid parameter(s): in_reply_to_id"}
@jernst jernst added this to the FediTest 0.5 released milestone Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant