Problem with my code on /corporations/{corporationid}/assets/names/

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

I saw a comment on this, the compliant being that if one item ID in the call of 1000 is invalid, it doesn’t tell you which one, nor does it send back the result for the other 999.

If I check the documentation, I understand I need to filter the table corporation/assets with is_singleton = True. I have a list of unique item IDs, but the first is sent. I have an invalid IDs request. If somebody know some other website for documentation that will be fine