You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem I am facing is with the creation of a new album. I keep getting the an exception saying that the parameters are invalid: It does mention the field sort. I believe that the provided value is valid.
System.AggregateException : One or more errors occurred.
----> VimeoDotNet.Exceptions.VimeoApiException : Error retrieving information from Vimeo API.
Code: BadRequest
Message: {"invalid_parameters":[{"field":"sort","error_code":2204,"error":"You have provided an invalid parameter. Please contact developer of this application.","developer_message":"The parameters passed to this API endpoint didn't pass Vimeo's validation. Please check the invalid_parameters list for more information."}],"error":"You have provided an invalid parameter. Please contact developer of this application.","link":null,"developer_message":"The parameters passed to this API endpoint didn't pass Vimeo's validation. Please check the invalid_parameters list for more information.","error_code":2204}
at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)
at System.Threading.Tasks.Task`1.get_Result()
at NomadLogic.Common.Util.Vimeo.VimeoUtil.CreateAlbum(String name, String description, String password, VimeoAlbumSortEnum sortOptions) in F:\Nomadlogic\Git\iBrand_Client_C_Sharp_Desktop\ibrand_common\Util\Vimeo\VimeoUtil.cs:line 229
at NomadLogic.Test.Common.Util.VimeoUtilTest.TestAlbumCrudMethod() in F:\Nomadlogic\Git\iBrand_Client_C_Sharp_Desktop\ibrand_common_test\ibrand_common_test\Common\Util\VimeoUtilTest.cs:line 71
--VimeoApiException
at VimeoDotNet.VimeoClient.<ExecuteApiRequest>d__36`1.MoveNext() in /_/src/VimeoDotNet/VimeoClient_Async.cs:line 263
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VimeoDotNet.VimeoClient.<ExecuteApiRequest>d__35`1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at VimeoDotNet.VimeoClient.<CreateAlbumAsync>d__2.MoveNext() in /_/src/VimeoDotNet/VimeoClient_Albums.cs:line 60
my code:
EditAlbumParameters editAlbumParameters =
new EditAlbumParameters()
{
Name = name,
Description = description,
Sort = EditAlbumSortOption.AddedLast
};
if (true)
{
editAlbumParameters.Privacy = EditAlbumPrivacyOption.Password;
editAlbumParameters.Password = "password";
}
var res = _client.CreateAlbumAsync(UserId.Me, editAlbumParameters).Result;
The text was updated successfully, but these errors were encountered:
The problem I am facing is with the creation of a new album. I keep getting the an exception saying that the parameters are invalid: It does mention the field sort. I believe that the provided value is valid.
my code:
The text was updated successfully, but these errors were encountered: