question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Errors when applying loadout

See original GitHub issue

DIM Version

Version 6.94.0 (release), built on 06.12.2021, 05:06:08

Browser Details

Chrome 96.0.4664.93 64 bit

OS Details

Windows 10

Describe the bug

Hello I’m trying to apply my saved loadout, but get error inside DIM (Bungie.net message: The request to modify an item failed. Refresh the item and try again), and inside mobile app log (Could not apply the mod, or something like that) Here are the links for two loadouts that I’m trying to change (although it opens for me with error and doesn’t show loadout): First (currently equipped): https://app.destinyitemmanager.com/optimizer?class=2&p={“mods”%3A[3682186345%2C322752304%2C322752304%2C3632726238%2C2850583378%2C4184328258%2C1515669996%2C2645858828%2C3566745556%2C2588939505%2C3523075120%2C2645858828%2C3598368346%2C3598368346%2C1824486242%2C3947616002%2C3561960031%2C4288515061]} Second one (trying to apply): https://app.destinyitemmanager.com/optimizer?class=2&p={“mods”%3A[2850583378%2C3319681729%2C2919349723%2C2645858828%2C2214082005%2C2645858828%2C2379452959%2C3523075120%2C2645858828%2C2001283033%2C3632726238%2C2645858828%2C3561960031%2C3632726237]}

When I try to apply loadout, i get “DimError: Bungie.net message: The request to modify an item failed. Refresh the item and try again”

Here are the screens if needed: https://imgur.com/a/KrJGU4y

Logs

Process inventory: 93.0009765625 ms
log.ts:44 Inventory state update: 142.9208984375 ms
instrument.ts:130 [loadout mods] Mods to apply (14) [2850583378, 3319681729, 2919349723, 2645858828, 2214082005, 2645858828, 2379452959, 3523075120, 2645858828, 2001283033, 3632726238, 2645858828, 3561960031, 3632726237]
instrument.ts:130 [loadout mods] equipping mod Pulse Rifle Targeting into The Stag socket 1
instrument.ts:159 POST https://www.bungie.net/Platform/Destiny2/Actions/Items/InsertSocketPlugFree/ 500
(anonymous) @ instrument.ts:159
l @ authenticated-fetch.ts:48
await in l (async)
processQueue @ rate-limiter.ts:68
add @ rate-limiter.ts:45
(anonymous) @ rate-limiter.ts:118
(anonymous) @ http-client.ts:126
(anonymous) @ http-client.ts:160
(anonymous) @ http-client.ts:254
(anonymous) @ http-client.ts:201
(anonymous) @ bungie-service-helper.ts:90
v @ api.js:155
Z @ advanced-write-actions.ts:130
(anonymous) @ advanced-write-actions.ts:100
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:764
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:664
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:292
await in (anonymous) (async)
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:104
(anonymous) @ action-queue.ts:13
Promise.then (async)
a @ action-queue.ts:12
(anonymous) @ loadout-apply.ts:103
(anonymous) @ index.js:16
onClick @ Loadouts.tsx:259
Be @ react-dom.production.min.js:52
qe @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Tr @ react-dom.production.min.js:100
Pr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
je @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Mr @ react-dom.production.min.js:105
Qt @ react-dom.production.min.js:75
Xt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
$o @ react-dom.production.min.js:122
Re @ react-dom.production.min.js:292
Gt @ react-dom.production.min.js:73
r @ helpers.ts:88
instrument.ts:130 [AWA] Couldn't insert plug {owner: '2305843009881434113', destinyVersion: 2, location: {…}, bucket: {…}, hash: 2177524718, …}ammoType: 0amount: 1availableMetricCategoryNodeHashes: undefinedbreakerType: nullbucket: {description: 'Helmets and hoods.', name: 'Helmet', hash: 3448274439, hasTransferDestination: true, capacity: 10, …}canPullFromPostmaster: trueclassType: 2classTypeNameLocalized: "Warlock"classified: falsecollectibleHash: 846189251collectibleState: 0comparable: truecomplete: falsedescription: ""destinyVersion: 2displaySource: ""element: {displayProperties: {…}, transparentIconPath: '/img/destiny_content/damage_types/destiny2/void_trans.png', showIcon: true, enumValue: 3, capacityStatHash: 16120457, …}energy: {energyTypeHash: 4069572561, energyType: 3, energyCapacity: 9, energyUsed: 9, energyUnused: 0}equipRequiredLevel: 50equipment: trueequipped: trueequippingLabel: "exotic_armor"hash: 2177524718hiddenOverlay: "/common/destiny2_content/icons/591f14483308beaad3278c3cd397e284.png"hidePercentage: falseicon: "/common/destiny2_content/icons/16634beca2ccdda00a47e8615dbc89f7.jpg"iconOverlay: "/common/destiny2_content/icons/591f14483308beaad3278c3cd397e284.png"id: "6917529501639155539"index: "6917529501639155539"infusable: trueinfusionFuel: trueinfusionQuality: {itemLevels: Array(0), qualityLevel: 0, infusionCategoryName: '1046741990', infusionCategoryHash: 1046741990, infusionCategoryHashes: Array(1), …}isEngram: falseisExotic: trueitemCategoryHashes: (3) [21, 45, 20]location: {description: 'Helmets and hoods.', name: 'Helmet', hash: 3448274439, hasTransferDestination: true, capacity: 10, …}lockable: truelocked: trueloreHash: 3008550972masterwork: falsemasterworkInfo: {tier: 9, stats: Array(1)}maxStackSize: 1metricHash: undefinedmetricObjective: undefinedmissingSockets: falsename: "The Stag"notransfer: falseobjectives: nullowner: "2305843009881434113"percentComplete: 0perks: nullplug: undefinedpower: 1330powerCap: nullpreviewVendor: 0primaryStat: {statHash: 3897883278, value: 1330, stat: {…}}pursuit: nullsecondaryIcon: "/common/destiny2_content/screenshots/2177524718.jpg"sockets: {allSockets: Array(12), categories: Array(4)}source: 1563875874stats: (7) [{…}, {…}, {…}, {…}, {…}, {…}, {…}]taggable: truetalentGrid: nulltier: "Exotic"trackable: falsetracked: falsetype: "Helmet"typeName: "Helmet"uniqueStack: false[[Prototype]]: Object DimError: Bungie.net message: The request to modify an item failed. Refresh the item and try again.
    at bungie-service-helper.ts:206
    at bungie-service-helper.ts:92
    at async advanced-write-actions.ts:100
    at async loadout-apply.ts:762
    at async loadout-apply.ts:664
    at async loadout-apply.ts:292
(anonymous) @ instrument.ts:130
s @ log.ts:33
(anonymous) @ advanced-write-actions.ts:108
await in (anonymous) (async)
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:764
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:664
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:292
await in (anonymous) (async)
(anonymous) @ index.js:16
dispatch @ redux.js:659
(anonymous) @ loadout-apply.ts:104
(anonymous) @ action-queue.ts:13
Promise.then (async)
a @ action-queue.ts:12
(anonymous) @ loadout-apply.ts:103
(anonymous) @ index.js:16
onClick @ Loadouts.tsx:259
Be @ react-dom.production.min.js:52
qe @ react-dom.production.min.js:52
(anonymous) @ react-dom.production.min.js:53
Tr @ react-dom.production.min.js:100
Pr @ react-dom.production.min.js:101
(anonymous) @ react-dom.production.min.js:113
je @ react-dom.production.min.js:292
(anonymous) @ react-dom.production.min.js:50
Mr @ react-dom.production.min.js:105
Qt @ react-dom.production.min.js:75
Xt @ react-dom.production.min.js:74
t.unstable_runWithPriority @ scheduler.production.min.js:18
$o @ react-dom.production.min.js:122
Re @ react-dom.production.min.js:292
Gt @ react-dom.production.min.js:73
r @ helpers.ts:88
loadout-apply.ts:142 Uncaught (in promise) DimError: Bungie.net message: The request to modify an item failed. Refresh the item and try again.
    at bungie-service-helper.ts:206
    at bungie-service-helper.ts:92
    at async advanced-write-actions.ts:100
    at async loadout-apply.ts:762
    at async loadout-apply.ts:664
    at async loadout-apply.ts:292

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
effernitycommented, Dec 8, 2021

Yep, sure

log.ts:44 Process inventory: 61.764892578125 ms
log.ts:44 Inventory state update: 303.279052734375 ms
instrument.ts:130 [loadout] Apply loadout ticuus to Awoken Warlock
instrument.ts:130 [move] Try blind move of Ticuu's Divination to Awoken Warlock
instrument.ts:130 [move] Move 1 Ticuu's Divination Energy to Awoken Warlock from Vault
instrument.ts:130 [loadout mods] Mods to apply (14) [2850583378, 3319681729, 2919349723, 2645858828, 2214082005, 2645858828, 2379452959, 3523075120, 2645858828, 2001283033, 3632726238, 2645858828, 3561960031, 3632726237]
instrument.ts:130 [loadout mods] equipping mod Grenade Launcher Dexterity into Pathfinder's Wraps socket 1
instrument.ts:130 [loadout mods] equipping mod Empty Mod Socket into Pathfinder's Pants socket 2
instrument.ts:130 [loadout mods] equipping mod High-Energy Fire into Pathfinder's Pants socket 3
instrument.ts:130 [loadout mods] equipping mod Pulse Rifle Holster into Pathfinder's Pants socket 1
instrument.ts:130 [loadout mods] equipping mod Empty Mod Socket into Tethering Void socket 1
instrument.ts:130 [loadout mods] equipping mod Empty Mod Socket into Tethering Void socket 3
instrument.ts:130 [loadout mods] equipping mod Recovery Mod into Tethering Void socket 0
instrument.ts:130 [loadout mods] Mods applied 7 14

There are no errors, only that message on the site itself Again, the loadout seems to be applied correctly

0reactions
effernitycommented, Dec 9, 2021

Thank you for your amazing work!

Read more comments on GitHub >

github_iconTop Results From Across the Web

DIM : "Failed to apply loadout, requirements not met" - Reddit
I saw that as well when applying a loadout. It eventually applied but after a few attempts - still got those errors.
Read more >
Loadouts not transferring properly · Issue #2466 - GitHub
When trying to equip loadout, all items (including subclass) receive an item not found error. Despite the items already being in the ...
Read more >
DIM on Twitter: "We've received reports of players ...
We've received reports of players encountering errors where "DIM couldn't find an item" while transferring items, applying loadouts, or pulling from the ...
Read more >
How to FIX Dev Error 5573 in WARZONE (Operator & Gun ...
To fix this error, you need to change your loadout and operator. Sometimes using a specific operator or skin will cause this error...
Read more >
Warzone Pacific: 'Loadout Restrictions Apply' Icon explained
If you don't know what this means, it essentially means that you can't use certain items in your Custom Loadout due to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found