Hi, guy
I finish to develop one application and I have some errors in my call on ‘https://esi.evetech.net/latest/corporations/XXXXXXX/assets/names/’.
# Process assets in chunks of 1000 (ESI limit)
chunk_size = 1000
total_chunks = (len(assets) + chunk_size - 1) // chunk_size
for i in range(0, len(assets), chunk_size):
chunk = assets[i:i + chunk_size]
item_ids = [asset.item_id for asset in chunk]
response = requests.post(
f'{EVE_ESI_BASE}/corporations/{master_account.corporation_id}/assets/names/',
headers=headers,
json=item_ids
)
Assets I the table of corporation assets call.
I have this message ‘{“error”:“Invalid IDs in the request”}’
Right now my Item_ids is a list of 1000 item_id from the call of /corporations/{corporation_id}/assets/ is it’s possible to have some item_id don’t valid for this call or I don’t use the good id