Edit in GitHubLog an issue

Adobe Stock Content ID changes ⚠️

Because of the growth of uploaded content, Adobe Stock will run out of content IDs by the end of the year. The current limit for Stock IDs is 2,147,483,647 (32-bit signed integer), and the new limit will be 9,007,199,254,740,991 (253 - 1). Adobe is changing the Stock infrastructure and databases to accept these larger numbers, so this may have an impact on your Stock application.

What does this mean to you? Some programming languages and databases will require changes to your integration because the default number type might not be large enough to handle the new limit. If you store these high values in your database, you may run into limitations there as well, requiring updates to the data type used to store Stock integers.

Here are some steps to help you prepare for this change:

  • Ask your engineering team to review the current system architecture. You can refer to the short list of programming languages and databases below.
  • Update the usage of your programming language and database primitive types to support the new limit. There should be no harm in changing this value right away.
  • Test your current integration by using a mocked response with dummy data. For example, you can save a response from the Stock API and replace the content id value with the new limit and see whether your system can recognize and store this value without errors.

This is a short list of programming languages (not a comprehensive list, and if your application type is not listed in the table below, you may need to do your own research) and whether changes would be required. Please review with your engineering team whether changes must be made:

NameMigration summaryLimit
JavaScript and TypeScript
9,007,199,254,740,991 (253 - 1)
PostgreSQL
INT limit: 2,147,483,647
BIGINT limit: 263 - 1
MySQL
INT limit: 2,147,483,647
BIGINT limit: 263 - 1
Python
No limit in Python 3: based on available memory
Limit for Python 2: 263 - 1 for 64 bit systems
PHP
2,147,483,647 in 32-bit systems
263 - 1 for 64-bit 
Java
int limit: 2,147,483,647
long limit: 263 - 1
.NET
System.Int32:  2,147,483,647
System.Int64: 263 - 1
Swift
On 32-bit platforms, Int is the same size as Int32, and on 64-bit platforms, Int is the same size as Int64.

Please understand that we must make these changes to our system to continue accepting content and running the Stock business. If you need more information or help related to the issue, please contact stockapis@adobe.com.

  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2025 Adobe. All rights reserved.