Twitter Task Not Found

Bug Description
The Twitter task at https://community.arcblock.io/earn/activity/618111568244113408 returns a 404 Not Found error. This prevents users from completing the task and reduces engagement.
Steps to Reproduce
- Navigate to https://community.arcblock.io/earn/activity/618111568244113408.
- Observe the 404 Not Found error.
Expected Behavior
- The Twitter task should load and display the required action (e.g., retweet, follow).
Actual Behavior
- The task returns a 404 Not Found error.
Severity Classification
Severity: Medium
- Impacts user engagement and task completion.
- May indicate a broken route or missing task configuration.
Suggested Fix
Frontend Fix
- Verify Task ID Mapping:
- Ensure the task ID
618111568244113408is correctly mapped in the frontend routing. - Example: javascript
javascript // Example: Check if task ID exists in the route configuration const taskRoutes = { "618111568244113408": "/earn/twitter/retweet", };
- Backend Fix:
- Ensure the task exists in the database or API.
- Example: python
javascript # Example: Verify task exists in the database def get_task(task_id): task = Task.objects.get(id=task_id) return task
3 replies
duplicated with: Retweet Action Fails with Error 400 due to Invalid or Missing Tweet Reference
你好,有的 tweet 在活动过程中可能会被编辑或者删除,这都是正常情况,如果这个 tweet 出现 404 您只需继续参加其他的 tweet 即可。
Last month I wrote a same report on this topic, but no one replied. Please take a look at this. https://community.arcblock.io/discussions/0bb5dfa7-80b1-4f06-819d-743acf048b84