You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make a new subscription on Azure at 59 minutes past the hour
run rctab sub add ... 2 minutes later
you will get an error message
Failed with status code: 409. Details: {'message': 'One of the records already exists. Details: Key (subscription_id)=(123-456-789-10112) already exists.'}
We will probably want to catch the "subscription exists" error here and ignore / log it:
When I ran sub add on an existing subscription, I got that error message but the approval was then processed correctly. Perhaps a different error message like 'Sub add failed as one of the records already exists. Continuing with approval and allocation' is warranted?
to recreate
rctab sub add ...
2 minutes laterWe will probably want to catch the "subscription exists" error here and ignore / log it:
https://github.com/alan-turing-institute/rctab-cli/blob/2062874a1f457d822b334d9259a9c4b02c6c9536/rctab_cli/sub_apps/sub.py#L237C1-L237C38
and then carry on with the persistence and allocation steps.
The text was updated successfully, but these errors were encountered: