Bungie-net / api

Resources for the Bungie.net API
Other
1.22k stars 92 forks source link

FR: DestinySocketActionNotAllowed - exceptions for artifact? end this behavior? #1843

Open nev-r opened 1 year ago

nev-r commented 1 year ago

in the age of reconfigurable artifact, the inability to unplug disabled armor mods is very impacting, in terms of the convenience we can provide via the API

example:

the API error in question: ```json { "ErrorCode": 1678, "ThrottleSeconds": 0, "ErrorStatus": "DestinySocketActionNotAllowed", "Message": "You cannot perform that change through Bungie.net at this time.", "MessageData": { "request.plug.socketIndex": "The requested socket is disabled. What kind of funny business are you trying to pull, anyways? Don't make me turn this car around!" } } ```

this is unfortunate! we could be doing so much to help the user like swapping in the available version of the mod. instead, this piece is basically broken, for the purposes of doing any mod assignment

so: can we make a heuristic exception here?

nev-r commented 1 year ago

per discussion in discord, also very open to simply ending the "can't plug disabled sockets" rule

not sure there are any examples of disabled sockets that should remain untouched. historical examples of disabled plugs are:

all of these are still cases where we should be allowed to plug something "over" the old plug

robojumper commented 1 year ago

Another example of a "disabled" socket that would be good to still have available for plugging: Harmonic Resistance (provides pve damage resistance against damage type matching your subclass damage type) becomes disabled when a Strand subclass is equipped because there's no incoming pve strand damage