Skip to content

Conversation

@bengreenbank
Copy link
Contributor

🧭 What and Why

Instead of using the generic base response (see below), we detail the exact error message that is expected for each response.

image

🎟 JIRA Ticket: PRED-3384

Changes included:

  • Change error code components to include detailed response codes and descriptions

🧪 Test

@algolia-bot
Copy link
Collaborator

algolia-bot commented Jan 29, 2025

✔️ Code generated!

Name Link
🪓 Triggered by 2f17a4c7f139176cc238cfe10e37b7190e3e865f
🍃 Generated commit c70edac15603adcc5f52fd9ce1442be73e5ef6cc
🌲 Generated branch generated/feat/adv-perso/error-codes-pred-3384

@bengreenbank bengreenbank changed the title feat(advanced-perso): detail error codes [PRED-3384] feat(advanced-perso) detail error codes [PRED-3384] Jan 29, 2025
@francoischalifour francoischalifour self-requested a review January 29, 2025 11:12
@bengreenbank bengreenbank changed the title feat(advanced-perso) detail error codes [PRED-3384] feat(specs): detail perso error codes [PRED-3384] Jan 29, 2025
@@ -1,5 +1,17 @@
description: Invalid user ID format.
description: Invalid user token.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reasons we're using "user token" and not "user ID" here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that - it should be like you suggest f543bd5

@bengreenbank bengreenbank force-pushed the feat/adv-perso/error-codes-pred-3384 branch from 19b79aa to 102748a Compare January 29, 2025 14:36
@bengreenbank bengreenbank marked this pull request as ready for review January 29, 2025 14:45
@bengreenbank bengreenbank requested a review from a team as a code owner January 29, 2025 14:45
@bengreenbank bengreenbank requested review from a team, Fluf22 and morganleroi and removed request for a team January 29, 2025 15:03
Copy link
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks !

@bengreenbank
Copy link
Contributor Author

We're good to merge, thanks @millotp!

@millotp millotp merged commit 00b9ca2 into main Jan 29, 2025
12 checks passed
@millotp millotp deleted the feat/adv-perso/error-codes-pred-3384 branch January 29, 2025 16:28
algolia-bot added a commit that referenced this pull request Jan 29, 2025
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

Successfully merging this pull request may close these issues.

5 participants