cloudinary / cloudinary/cloudinary_npm

Must supply api_key

Open
#664 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
666
Forks
319
Avg merge
17h 18m
Merged PRs (30d)
3

Description

There was an unexpected error (type=Internal Server Error, status=500).
Must supply api_key
java.lang.IllegalArgumentException: Must supply api_key

//here is my proprties file code
#cloudinary configurations
cloudinary.cloud.name=ddxv9r6it
cloudinary.api.key=884911427739699
cloudinary.api.secret=_DELETED_

//its AppConfig file
@Configuration
public class AppConfig {
@Value("${cloudinary.cloud.name}")
private String cloudName;
@Value("${cloudinary.api.key}")
private String apiKey;
@Value("${cloudinary.api.secret}")
private String apiSecret;
@Bean
public Cloudinary cloudinary() {
ObjectUtils.asMap(
"cloud_name", cloudName,
"api_key", apiKey,
"api_secret", apiSecret);
return new Cloudinary();
}
}

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.