Skip to main content

Questions tagged [api-version]

Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

Receiving an error UNSUPPORTED_API_VERSION: Invalid Api version specified on URL inside Jenkins using sf project deploy start command

Receiving an error UNSUPPORTED_API_VERSION: Invalid Api version specified on URL inside Jenkins using sf project deploy start command sh "sf project deploy start --ignore-conflicts --source-dir ...
Patlatus's user avatar
  • 17.5k
-1 votes
1 answer
209 views

Error message when deploy from QA to Production

I tried to deploy a flow from Dev to QA everything works fine but when i tried to deploy it from QA to Production I got this error message, can anyone please help me to resolve it?
Slim Chakroun's user avatar
0 votes
0 answers
87 views

Which version of a native apex class is used?

We have a scenario where our somewhat complex apex code hierarchy is calling Database.Update. This returns an instance of a list of SaveResult. The documentation for SaveResult says this about the ...
hamayoun's user avatar
  • 2,777
1 vote
1 answer
651 views

How salesforce component with different api versions interact with each other

I am trying to understand how apiversions Interoperate with each other. Lets say i have 2 classes 1 on version 54 and other on apiversion 55. If we call Class 2 methods from class 1 what API version ...
Manjot Singh's user avatar
  • 3,556
-1 votes
1 answer
675 views

Updating Api Versions for VF pages Apex Classes as Versions 21.0 through 30.0 of the Salesforce Platform are not supported

My organization is trying to update API versions or more than 100 Apex classes, Test classes and VF pages from older versions (19-30) to newer versions. It's a mammoth task to check and test every ...
mik100's user avatar
  • 1
0 votes
1 answer
71 views

Can I use sfdx or some other tool to find out salesforce release version in the org using a script?

Can I use sfdx or some other tool to find out salesforce release version in the org using a script? Ideally I would like to iterate over all of my sandboxes and find out which Salesforce release they ...
Patlatus's user avatar
  • 17.5k
1 vote
0 answers
735 views

Salesforce Platform API Versions Retirement of Versions 21.0 through 30.0

Do you have a list of components to be verified for "Retirement of Versions 21.0 through 30.0": How do we can make sure that no managed package would be impacted with this change? If any ...
anju vijayan's user avatar
3 votes
0 answers
444 views

Spring 23 release - Changes around ICU Locale formats

Salesforce is going to release changes around ICU locale format - https://help.salesforce.com/s/articleView?id=release-notes.rn_forcecom_globalization_enable_icu_cruc.htm&type=5&release=222 ...
Manish Anand's user avatar
1 vote
1 answer
495 views

Check Apex class api version before deploy

Is there any way to check the apex class ApiVersion Before deploying it? For example, let's say a developer is trying to save an apex class with API Version 25, We need to show an error message 'The ...
Mohamed Ashfak's user avatar
4 votes
1 answer
10k views

Property 'identifier' not valid in version 51.0 [duplicate]

Trying to deploy from environment to another a LightningPage, I get this error: Property 'identifier' not valid in version 51.0 I don't know where I can specify the version of the page (or change it) ...
CPS's user avatar
  • 365
0 votes
0 answers
535 views

Failed to deploy source to org

Given: I am trying to deploy helloWorld project but its unable to deploy project and giving errors listed below.Instead of getting ended with exit code 0 I am getting Deploy Errors Create ...
sam's user avatar
  • 1
0 votes
0 answers
691 views

SFDX commands not working from API version 52.0 in CLI

Today, when I tried to use the regular command to fetch list of orgs of Salesforce in CLI terminal, it throws me an error/warning as below: And I'm unable to login to my salesforce orgs too. Like no ...
Rv1's user avatar
  • 756
1 vote
1 answer
325 views

New Journey Builder Version with different Entry Source - will the previous version keep running? [closed]

I have a journey using an APIEvent as the entry source. I have created a new version within the same journey but with a new APIEvent. Can both versions run concurrently with the different entry ...
Libby's user avatar
  • 11
3 votes
1 answer
192 views

Can objects such as PackagePushRequest be made available in a scratch org?

The question relates to some new API 51 objects that allow second generation packaging push upgrades to be scheduled. Running this script in our Partner Business Org (PBO): List<String> names = ...
Keith C's user avatar
  • 137k
1 vote
0 answers
102 views

Unable to deploy change set to production [duplicate]

After the new realease our developer sandbox changed its API version to 52.0 but or production org still at 51.0 . When we try to send our change set to procution org, we keep receving this error ...
Bruno's user avatar
  • 11
2 votes
0 answers
240 views

400 Bad Request for Salesforce Platform APIs in Android Version 6

We are facing an issue with our mobile application, we face issue(400 bad request) when calling Salesforce Platform API to get specific records of custom object(sObject Contact Association). And this ...
Mahesh Nikate's user avatar
1 vote
1 answer
547 views

Get Version of Journey Builder in Custom Activity

Is it possible to get the version of Journey builder (inside Custom Activity) from which the execute method got triggered?? or Any other identifier to decide if its a new journey/ a version of same ...
Sharath Jallu's user avatar
4 votes
1 answer
51 views

Managed Package Class version error

I'm trying to update a Class' API version within a managed package. The function is as follows: @HttpPut global static String uploadNewAttachment(RestRequest req) { When I try to bump the Class ...
McD's user avatar
  • 1,276
2 votes
1 answer
143 views

Upgrade API version of non-upgradeable metadata

As an ISV we are planning to update the API version of our package metadata components to v.50, so all of them will have the same. My question is: Can we (and would want to) upgrade API versions of ...
Gabriel Serrano Salas's user avatar
11 votes
1 answer
682 views

Best approach to safely bump up version of classes

I have a huge managed package app that I build many years ago (40% of all classes have v29 as version) and I am thinking of bumping them up all to the latest v50. Is that safe or what could possible ...
Robert Sösemann's user avatar
1 vote
2 answers
5k views

Property 'itemInstances' and 'processOrder' not valid in version 48.0 error when deploying in Production, even though Production is 49.0

When trying to deploy the converted metadata using VS code sfdx force:mdapi:deploy deploy to my Production Org and I get the error Property 'itemInstances' not valid in version 48.0 and Property '...
nSv23's user avatar
  • 554
2 votes
2 answers
2k views

Property 'storeOutputAutomatically' not valid in version 48.0

I am trying to deploy a flow to a sandbox and I am getting the error Property 'storeOutputAutomatically' not valid in version 48.0 The sourceApiVersion specified in my sfdx-project.json file is 48.0....
Delphine's user avatar
  • 183
1 vote
1 answer
2k views

Downgrade Aura Component API version

I am trying to downgrade aura component api version to 39.0 from visual studio code, and push it back to sandbox. I can see that it's been changed in visual studio, but hasn't changed in Salesforce ...
Shohrat Muhamov's user avatar
0 votes
2 answers
407 views

Test/API Difference with Regards to EmailMessage and Messaging.SendEmail()

Any resources on what might've changed in API 37 that wasn't present in 36 that could be causing the issue I'm seeing? If I update every other apex class in my org to 46 and leave the test class at ...
Kris Goncalves's user avatar
4 votes
2 answers
5k views

Version error when uploading Change Set

I’m trying to deploy custom objects, custom fields, page layouts, compact layouts, Lightning pages and Global value set (global picklist) , when uploading changeset it is giving me API version error ...
user30768's user avatar
  • 151
5 votes
1 answer
480 views

Is there a way in Apex to dynamically determine the ApiVersion the current code is executed with?

Assume we have an Apex class myClass.cls and we use it on several different Orgs. While the source-code is the same, on some Orgs we use different ApiVersion, e.g. some Orgs use v45.0, others use v42....
Uwe Heim's user avatar
  • 28.5k
4 votes
4 answers
3k views

Should I update trigger API version?

I am an admin and have looking through some of the old triggers that are currently in our org. There are a few of them that are still active and do some important job but are set to API version 20. ...
Art S's user avatar
  • 311
11 votes
2 answers
910 views

Access to SObject Schema in Apex is very slow after API v44

We needs to use Schema and DescribeSObjectResult classes to get all SObject in the user's organization. But we noticed performance problem after upgraded to API v44. The following code could reproduce ...
Leo Li's user avatar
  • 331
0 votes
2 answers
730 views

Deploy change set from sandbox to production unavailable

I have a process builder which I want to build to production, when I create a change set it says that this change set requires the "45.0" or later platform version, if it was a visualforce page I ...
Roody's user avatar
  • 49
1 vote
1 answer
707 views

Mismatching versions-error when trying to install unlocked package

I created a new version of my unlocked package and tried to install it into a scratch org. Unfortunately I get the error Mismatching versions.. From what I know this error comes up, when one tries to ...
martes's user avatar
  • 127
2 votes
0 answers
150 views

Is there a way to specify an API version of a call to @RestResource?

I would like to specify an API version when I call a @RestResource via an API. Is that possible? Why For some reason, our Spring '19 sandbox is having a weird issue, and I'd like to fix this before ...
Charles Koppelman's user avatar
3 votes
1 answer
2k views

Why do Apex classes have an API version

I am unsure why each class has an API version. I know during each release they have added functionality therefore previous versions would not support this but I feel there must be more of a reason. ...
M guy's user avatar
  • 773
0 votes
1 answer
314 views

Apex class APi version update

could anyone suggest whether we can update API version of apex class through Apex/trigger. If i try to update ,i am getting DML operation not allowed on aepx classes.
Vinothini Murugesh's user avatar
7 votes
3 answers
11k views

Is there a way to upgrade api versions of all apex classes without manually updating each of them?

I have an org with hundreds of apex classes, all of which have api versions ranging between 30-37. Is there an easy way to bring them all to the latest api version at once without resorting to manual ...
kabdelr00's user avatar
  • 323
6 votes
2 answers
334 views

Using newly released feature on an apex class having older API version

As you all probably know switch has been introduced in Summer'18 (API v43,0) release. I have started using it in my apex class which is having API version 36,0 and somehow it works in my sandbox. I ...
Lafexlos's user avatar
  • 509
0 votes
1 answer
1k views

Upgrading Managed Package will also upgrade the API Version of Apex Class if it is changed

I want to upgrade API version of one class to use new feature provided in new API version. But, I want to know what will happen when existing customer upgrade their Managed Package with new package (...
rakesh's user avatar
  • 57
6 votes
2 answers
655 views

What are the risks or drawbacks of creating Parameterized Interfaces using of the Apex API version 25?

Unfortunately, as of API version 26, SFDC removed parameterized interfaces. However, it is relatively easy to create new interfaces and set the version as 25. So, to take the example from ...
Brian Kessler's user avatar
5 votes
1 answer
551 views

Is the API Version available for Standard Fields/Objects with which the fields/objects has been introduced?

I have written a SOQL-tool which allows me stuff like SELECT * FROM ... It is based on APEX Schema functions and works very good. It expands and compiles a full list of fields in a string, which I ...
Uwe Heim's user avatar
  • 28.5k
2 votes
1 answer
536 views

Advice on recompilation of production classes

I have an APEX Class that needs some updates, that is on version 18. When I make the updates, the version is also updated to the most recent (v41). When I try to push to production I get errors saying ...
Olivia's user avatar
  • 3,471
5 votes
1 answer
1k views

Force.com IDE still in v38.0?

I am trying to update eclipse force.com IDE so that I can create lightning components with v41.0(with Winter 18 release feature). I do not see an update available and while creating the component/apex ...
SfdcBat's user avatar
  • 4,839
2 votes
1 answer
756 views

EventAttendee object deprecated after API 25.0

We have working code that is based on 25.0 API and used EventAttendee object in its SOQL. We are now trying to Migrate the code to latest 41.0 API but the EventAttendee object does not exists in the ...
Neel's user avatar
  • 159
0 votes
2 answers
2k views

How do I upgrade salesforce API version?

How do I upgrade salesforce API version? If I click on Generate Enterprise WSDL the XML shows API version as 40.0, how to upgrade version to 41.0, I want to use the REST API calls
M.R's user avatar
  • 111
0 votes
1 answer
93 views

Summer 17 Critical update - CSRF Protection - How would it affect VF pages below version 27.0

The 'Require CSRF protection' option on VF Pages are available only for pages with API version 27.0 or later. I was wondering if activating the critical update (Allow CSRF Protection on GET Requests ...
Venkataraman's user avatar
8 votes
5 answers
8k views

Which API versions are still supported?

I see some posts that Salesforce supports all the back versions of its APIs. But I also see pages on Salesforce.com that only give an End of Life statement that API versions will be supported for 3 ...
Larry K's user avatar
  • 237
3 votes
1 answer
963 views

Is there a Patch release schedule? Can I request my org be upgraded to the latest Patch?

I recently discovered a bug that makes it impossible to deploy subscriber triggers on Platform Events. In my sandbox environment, the bug appears to be fixed. Yay! Unfortunately, that patch has not ...
Adrian Larson's user avatar
  • 151k
1 vote
0 answers
286 views

Upgrading to latest Salesforce Apex API version number

Our organisation has over 100 Apex classes, triggers and VF pages written over a period of 8 years. The versions of Apex API that we have used vary from 10 to the latest 40. Now we are trying to bring ...
SSK's user avatar
  • 361
1 vote
1 answer
426 views

Unable To enable inline editing for Visualforce page Error: Inline Editing is supported for API Version 21 and above

I am trying to enable inline editing for a visual force page I created. However, whenever I try to save it I get the following error, "Error: Inline Editing is supported for API Version 21 and above." ...
Victor Mora's user avatar
0 votes
1 answer
160 views

API describeSObjects() version 37 does not work with older versions

We have downloaded the Partner.wsdl version 37.0 from Salesforce, which we use with our application to connect to Salesforce(using AXIS) to read/write records and to build the metadata locally read ...
Deepak Naik's user avatar
2 votes
1 answer
535 views

How to manage API version differences in packages and subscribers?

I think we can all agree that in an ideal world whenever we upgrade the SF API in managed package code we desire stability in subscriber orgs. Unfortunately this appears far reaching in the world of ...
Mossi's user avatar
  • 3,996
2 votes
0 answers
844 views

Possible bug with Process Builder, Apex Unit Tests and API Version

I ran into this issue last week during a deployment and submitted as a potential bug. Not surprising, Salesforce Support pushed back heavily saying that this is a feature of the application, not a bug....
Force2b_Mike's user avatar